﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GameSchool.Models;

namespace GameSchool.DAL
{
    public interface IHomeRepository : IDisposable
    {
        // Nánari upplýsingar um hvernig Repository patternið virkar er á:
        // http://www.asp.net/mvc/tutorials/getting-started-with-ef-using-mvc/implementing-the-repository-and-unit-of-work-patterns-in-an-asp-net-mvc-application

        string GetDepartmentNameById(int departmentDegreeId);
        List<Course> GetCoursesStudent(Guid studentUserId);
        List<Course> GetCoursesTeacher(Guid teacherUserId);
        List<vRecentAdmin> GetRecentAdmin();
        List<vRecentStudent> GetRecentStudent();
        List<vRecentTeacher> GetRecentTeacher();
    }
}
